import React, { ReactNode } from 'react'
import Portal from '../portal'

export default class Provider extends React.Component<{}> {
  public render (): ReactNode {
    return (
      <Portal.Host>
        {this.props.children}
      </Portal.Host>
    )
  }
}
